<script setup>

import {onMounted} from "vue";
import axios from 'axios';
/*onMounted(()=>{
    axios.get("http://localhost:8085/elm_api/BusinessController/getBusinessById?businessId=10001" )
        .then(function (success) {
            //返回成功的响应
            console.log(success); //响应是一个 JSON 格式(axios 自动封装的)
            console.log(success.data);
        }).catch(function (error) {
        //返回失败的响应(例如，状态码为 403、500......)
        console.log(error);
    })
})*/
</script>

<template>

    <router-view></router-view>
</template>

<style scoped>

</style>
